#include"fd.h"
#include"constants.h"
#ifndef NARRTREE_H
#define NARRTREE_H

typedef struct ntree
{
	fdesc *file_desc;
	struct ntree *parent;
        struct ntree *first;
	struct ntree *next;
}ntree;

int schflag;
ntree *create(fdesc *itemdesc);
ntree *delete_ntree(ntree *head,fdesc *itemdesc);
ntree *insert_ntree(ntree *head,fdesc *itemdesc);
void traverse(ntree *head);
ntree *search_node(ntree *head,char filepath[MAX_PATH]);
void fun(ntree *temp4,int cnt3,char *bak_s2[],int j);
#endif
